<template>
  <div id="example-2">
  <button @click="show = !show">Toggle show</button><br>
  <transition enter-active-class="animate__backInLeft" leave-active-class="animate__backOutRight">
    <p v-if="show" class="animate__animated" style="display: inline-block;">Lorem ipsum</p>
  </transition>
</div>
</template>

<script>
export default {
  name: 'App',
  data () {
    return {
      show: true
    }
  }
}
</script>

<style scoped>
</style>
